import request from '@/utils/request'

// 查询dashboard列表
export function getData(query) {
  return request({
    url: '/dashboard/list',
    method: 'get',
    params: query
  })
}
// 查询基金列表
export function findFundList(query) {
  return request({
    url: '/dashboard/findFundList',
    method: 'get',
    params: query
  })
}

// 查询dashboard列表
export function listDeal(query) {
  return request({
    url: '/dashboard/getDealList',
    method: 'get',
    params: query
  })
}

// 导出Quarterly报表
export function exportQuarterlyReport(data) {
  return request({
    url: '/dashboard/exportQuarterlyReport',
    method: 'post',
    data: data
  })
}

// 导出dashboard报表
export function exportDashboard(query) {
  return request({
    url: '/dashboard/export',
    method: 'get',
    params: query
  })
}

